<!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        Page Header
        <small>Optional description</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
        <li class="active">Here</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">

      <!-- Your Page Content Here -->
	<div class="row">
        <div class="col-xs-12">
          <div class="box">
            <div class="box-header">

              <h3 class="box-title">教师列表</h3>

              <h3 class="box-title">学生列表</h3>

              <div class="box-tools">
                <div class="input-group input-group-sm" style="width: 150px;">
                  <input type="text" name="table_search" class="form-control pull-right" placeholder="Search">

                  <div class="input-group-btn">
                    <button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
                  </div>
                </div>
              </div>
            </div>
            <!-- /.box-header -->
            <div class="box-body table-responsive no-padding">
              <table class="table table-hover">
                <tbody><tr>
					<th>ID</th>
                  <th>姓名</th>
                  <th>密码</th>
                  <th>手机号</th>
                  <th>邮箱</th>
                  <th>部门</th>
				  <th>操作</th>
                </tr>

                <?php foreach($ths as $item):  ?>
	<tr>
		<td><?=$item->id?></td>
		<td><?=$item->name?></td>
		<td><?=$item->password?></td>
		<td><?=$item->tel?></td>
		<td><?=$item->email?></td>
		<td><?=$item->bumen?></td>
		<td><a href="<?php echo site_url('admin/edith/').$item->id;?>" class="ta_inf">编辑</a><a href="<?php echo site_url('admin/delth/').$item->id;?>" class="ta_inf">删除</a></td>
	</tr>
	<?php endforeach; ?>
     
              </tbody></table>
            </div>
            <!-- /.box-body -->

			<div class="box-footer clearfix">
				<ul class="pagination pagination-sm no-margin pull-left">
					共有  <?php echo $num;  ?> 条记录
				</ul>
              <ul class="pagination pagination-sm no-margin pull-right">
				<!--
                <li><a href="#">«</a></li>
                <li><a href="#">1</a></li>
                <li><a href="#">2</a></li>
                <li><a href="#">3</a></li>
                <li><a href="#">»</a></li>
				-->
              </ul>
            </div>

<style type="text/css">
<!--
.ta_inf { margin-right:8px}
.ta_inf:hover {text-decoration:underline;}
-->
</style>

          </div>
          <!-- /.box -->
        </div>
      </div>


    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  	  